@import './antv/0_exit.less';
@import './antv/1_btns.less';
@import './antv/2_layout.less';
@import './antv/3_searchGroup.less';
@import './antv/4_table.less';
@import './antv/5_pagenation.less';
@import './antv/6_form.less';
@import './antv/7_dropdown.less';
@import './antv/8_cascader.less';
@import './antv/9_drawer.less';
@import './antv/10_menu.less';
@import './antv/11_calendar.less';
@import './antv/12_tabs.less';
@import './antv/13_tree.less';
@import './antv/14_popover.less';
@import './antv/15_alter.less';
@import './antv/16_upload.less';
@import './antv/17_publicModal.less';

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb:hover {
  border-radius: 6px;
  background: #00f8ff; // ! 页面滚动条
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

div::-webkit-scrollbar {
  background: transparent;
}

div::-webkit-scrollbar-track {
  background: transparent;
}

// ! 修改容器背景
.searchContent_item {
  padding: 0.2rem;
  background: #034c54;
}

.up_down,
.up_down:hover {
  font-size: 0.14rem;
  font-family: PingFang SC;
  font-weight: 500;
  color: #00ccff;
}

.ant-notification {
  width: 318px;
}

.alarms {
  padding: 0;
  background: transparent;

  .ant-notification-notice-message {
    display: none;
  }
}

// ! 表格中间过度线
.ant-divider.ant-divider-vertical {
  background: #3595db !important;
}

.infoWindow {
  width: 480px;
  height: 370px;
  background: url('~@/assets/imgs/dashboard/infoWindow.png') no-repeat;
  z-index: 999;
  .infoWindow-title {
    // width: 480px;
    z-index: 9;
    height: 70px;
    line-height: 70px;
    text-align: center;
    background: url('~@/assets/imgs/dashboard/infoWindow-title.png') no-repeat;

    font-size: 24px;
    font-weight: bold;
    color: #00f8ff;
  }

  .info-winwow-content {
    height: 140px;
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    padding: 18px 20px;
    //.f1: flex:1
    div > .f1 {
      width: 0; //min-width: 0 防止flex项溢出
    }

    .lable {
      color: #02c1c7;
      margin-right: 5px;
      min-width: 75px;
    }

    .value {
      color: #9cfdff;
    }
  }

  .transition {
    height: 2px;
    margin: 0 10px;
    background: linear-gradient(to right, #024a4d, #026467, #026f73, #02767a, #025f62, #025053, #023e40);
  }

  .device-detail {
    padding: 10px 20px;
    overflow: auto;

    .common {
      margin-bottom: 35px;
      margin-top: 5px;
      .title {
        font-size: 14px;
        font-weight: 500;
        line-height: 14px;
        margin-bottom: 15px;

        .left {
          .identification-common {
            padding: 0 4px;
            border-radius: 4px;
            color: #023133;
          }

          .identification-normal {
            background: #00d544;
          }

          .identification-earlyWarning {
            background: #fff601;
          }

          .identification-warming {
            background: #ff0054;
          }

          .identification-offline {
            background: #006f73;
          }

          .label {
            color: #02c1c7;
            margin: 0 10px;
          }
          .num {
            color: #9cfdff;
          }
          .name {
            color: #02c1c7;
          }
        }
        .right {
          color: #00f8ff;
          cursor: pointer;
        }
      }

      .table-wrap {
        border: 1px solid #018f93;
      }
      .content {
        display: flex;
        height: 40px;
        line-height: 40px;
        background: rgba(3, 78, 81, 0.4);
        &:nth-child(1) {
          border-bottom: 1px solid #018f93;
        }
        .a,
        .b,
        .c,
        .d,
        .e {
          flex: 1;
          color: #02c1c7;
          text-align: center;
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
          border-right: 1px solid #018f93;
        }
        .e {
          border-right: none;
        }

        .on {
          color: #0eff47;
        }

        .off {
          color: #ff0054;
        }
      }
    }
  }
}

.yykj-map-dialog {
  padding: 10px;
}

.yykj-map-dialog #close-x {
  position: absolute;
  right: 15px;
  top: 10px;
  z-index: 1000;
  padding: 5px;
  cursor: pointer;
  // background: url('~@/assets/imgs/dashboard/x.png');
}
